Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

V2 Wizard - Foundations #1531

Merged
merged 5 commits into from
Jan 8, 2024
Merged

Conversation

lucasgarfield
Copy link
Collaborator

The commits in this PR set the foundation for using RTK to manage the state of the V2 wizard.

image

Copy link

codecov bot commented Jan 5, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (247c436) 77.69% compared to head (8a6fc07) 77.69%.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #1531   +/-   ##
=======================================
  Coverage   77.69%   77.69%           
=======================================
  Files          69       69           
  Lines        2035     2035           
  Branches      560      560           
=======================================
  Hits         1581     1581           
  Misses        413      413           
  Partials       41       41           

Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 247c436...8a6fc07. Read the comment docs.

Copy link
Collaborator

@regexowl regexowl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good 👍 I like the uncommenting/reenabling tests strategy!

One question - do we want to keep all the styling in CreateImageWizard.scss from the get go or would it be better to add it when it's really needed?

To make code reviews easier, these files are being removed for now. They
will be added back over time in a way that results in clearer diffs.
The tests have been converted from .js to .tsx and all lines have been
commented out. As steps are added to the wizard, the relevant lines will
be uncommented. The V2 wizard can be considered finish when all
commented lines have been removed. Proceeding this way (as opposed to
starting with an empty test file and adding tests back) will help us
ensure we do not accidently 'drop' a test.
The V2 wizard's state will be managed using RTK. Adding a slice for the
wizard lays the groundwork.
Adds the scaffolding for the V2 wizard, only empty Image output and
Review steps present at this time.
Uncomment all tests that should be passing up to this point in the V2
wizard development.
@regexowl
Copy link
Collaborator

regexowl commented Jan 8, 2024

/retest

@lucasgarfield
Copy link
Collaborator Author

Looks good 👍 I like the uncommenting/reenabling tests strategy!

One question - do we want to keep all the styling in CreateImageWizard.scss from the get go or would it be better to add it when it's really needed?

I'd love to get rid of as much scss as possible, but I don't want to get blocked on it. But we can do a follow-up PR, could be a good one for @mgold1234 to look at.

@lucasgarfield lucasgarfield merged commit bb5ff08 into osbuild:main Jan 8, 2024
4 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants